.q-upload-file-single {
  --text-color: rgba(var(--color-rgb-gray), 0.64);

  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  overflow: hidden;
  background-color: var(--color-tertiary-gray);
  border-radius: var(--border-radius-base);
  box-shadow: var(--box-shadow-pressed);

  &__icon {
    width: 24px;
    margin-right: 8px;
    font-size: 24px;
    color: var(--text-color);
  }

  &__name {
    width: 136px;
    margin-right: auto;
    overflow: hidden;
    font-size: 10px;
    font-weight: var(--font-weight-base);
    line-height: 12px;
    color: var(--text-color);
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &__btn {
    width: 24px;
    padding: 0;
    margin-left: 8px;
    font-size: 24px;
    color: var(--color-primary-blue);
    cursor: pointer;
    background-color: transparent;
    border: none;
    outline: none;

    &:hover,
    &.focus-visible {
      color: var(--color-primary-black);
    }
  }

  &__loader {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(var(--color-rgb-gray), 0.16);
  }

  &__bar {
    width: 0;
    height: 100%;
    background-color: var(--color-primary-blue);
    transition: width 0.1s ease;
  }
}
